<link href="../../assets/libs/editormd/css/editormd.css" rel="stylesheet"/>
<link href="../../assets/libs/toggles/toggles.css" rel="stylesheet"/>
<link href="../../assets/css/article-from.css" rel="stylesheet">
<body class="fixed-left">
<div class="wrapper">
    <div class="content-page">
        <div class="content">
            <div class="container">
                <!--<div class="layui-row">-->
                <!--<h4 class="page-title">发布文章</h4>-->
                <!--</div>-->
                <div class="col-md-12">
                    <form name="articleForm" class="layui-form articleForm" lay-filter="articleForm" role="form"
                          novalidate="novalidate">
                        <div class="hor layui-row">
                            <div>
                                <input type="hidden" name="arleid">
                                <input type="text" name="atitle" required lay-verify="required" placeholder="请输入文章标题"
                                       autocomplete="off" class="layui-input">
                            </div>
                            <div>
                                <select name="artype">
                                    <option value="">请选择文章类型</option>
                                </select>
                            </div>
                        </div>
                        <div class="hor layui-row">
                            <div>
                                <div class="random-node tags"></div>
                            </div>
                            <div>
                                <div class="random-node category"></div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                        <div class="random-node my-editormd">
                            <textarea id="my-text" name="my-text" style="display:none;"
                                      class="markdown-textarea"></textarea>
                            <!-- 注意：name属性的值-->
                            <textarea id="text" name="detail" style="display:none;"></textarea>
                        </div>
                        <div class="control-options layui-row">
                            <div class="option layui-col-xs3 layui-col-sm3 layui-col-md1" id="comment-div">
                                <span>开启评论</span>
                                <input type="hidden" name="awcomt" value="1">
                                <div class="toggle toggle-success allow-true"
                                     onclick="allow_comment(this);"></div>
                            </div>
                            <div class="option layui-col-xs3 layui-col-sm3 layui-col-md1">
                                <span>允许Ping</span>
                                <div class="toggle toggle-success allow-true"
                                     onclick="allow_ping(this);"></div>
                            </div>
                            <div class="option layui-col-xs3 layui-col-sm3 layui-col-md1">
                                <span>允许订阅</span>
                                <div class="toggle toggle-success allow-true"
                                     onclick="allow_feed(this);"></div>
                            </div>
                        </div>
                        <div class="clearfix"></div>
                        <div class="text-right">
                            <button type="button" class="btn btn-default waves-effect waves-light"
                                    ew-event="closePopup">返回列表
                            </button>
                            <button type="button" class="btn btn-primary waves-effect waves-light" lang="publish"
                                    lay-submit lay-filter="subArticel">
                                保存文章
                            </button>
                            <button type="button" class="btn btn-warning waves-effect waves-light" lang="draft"
                                    lay-submit lay-filter="subArticel">
                                存为草稿
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../../assets/libs/editormd/src/editormd.js"></script>
<script src="../../assets/libs/toggles/toggles.min.js"></script>
<script src="../../assets/js/article-form.js"></script>
<script>

</script>
</body>